﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace TareasService
{
    [ServiceContract]
    public interface ITaskService
    {
        [OperationContract]
        IEnumerable<Project> getProjects();

        [OperationContract]
        IEnumerable<Task> getTasks(int p);

        [OperationContract]
        void addTask(Task t);

        [OperationContract]
        IEnumerable<Project> getProjectByName(string name);
        // TODO: Add your service operations here
    }
}
